package com.zmm.zebulon.module.system.biz.controller.admin.dict.vo.type;


import com.alibaba.excel.annotation.ExcelProperty;
import com.zmm.zebulon.module.system.enums.DictTypeConstants;
import com.zmm.zebulon.starter.excel.core.annotation.DictFormat;
import com.zmm.zebulon.starter.excel.core.convert.DictConvert;
import lombok.Data;

/**
 * description: 管理后台 - 字典类型 Excel 导出响应 VO
 *
 * @author zebulon
 * package com.zmm.zebulon.module.system.biz.controller.admin.dict.vo.type
 * name: DictTypeExcelVO
 * date 2024/1/8 21:23
 */
@Data
public class DictTypeExcelVO {

    @ExcelProperty("字典主键")
    private Long id;

    @ExcelProperty("字典名称")
    private String name;

    @ExcelProperty("字典类型")
    private String type;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.COMMON_STATUS)
    private Integer status;

}
